using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KPIS.GERP.GBMS.MODEL
{
    public enum OptionType
    {
        Market, Product, Fair
    }

    [Serializable]
    public class OptionTypeInfo
    {
        private int seq;
        private string name;
        private string lbName;
        private int child;
        private int descr;
        private int jobSite;

        public OptionTypeInfo()
        {

        }

        public OptionTypeInfo(int seq)
        {
            this.seq = seq;
        }

        public OptionTypeInfo(int seq, string name, string lbName, int child, int descr, int jobSite)
        {
            this.seq = seq;
            this.name = name;
            this.lbName = lbName;
            this.child = child;
            this.descr = descr;
            this.jobSite = jobSite;
        }

        ~OptionTypeInfo()
        {

        }

        public virtual void Dispose()
        {

        }

        public int Sequence
        {
            get
            {
                return seq;
            }
            set
            {
                seq = value;
            }
        }

        public string Name
        {
            get
            {
                return name;
            }
            set
            {
                name = value;
            }
        }

        public string LabelName
        {
            get
            {
                return lbName;
            }
            set
            {
                lbName = value;
            }
        }

        public int HasChild
        {
            get
            {
                return child;
            }
            set
            {
                child = value;
            }
        }

        public int HasDescription
        {
            get
            {
                return descr;
            }
            set
            {
                descr = value;
            }
        }

        public int HasJobSite
        {
            get
            {
                return jobSite;
            }
            set
            {
                jobSite = value;
            }
        }
    }
}